package top.dprkshow.springboothelloworld.PO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author Kent HAN
 * @date 2021/7/2
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HelloWorker对象", description="")
public class HelloWorkerUser implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "worker_id", type = IdType.ASSIGN_ID)
    private Integer workerId;

    private String workerName;

    private Integer workerAge;

    private Boolean workerGender;

    private Long id;

    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    private String email;
}
